package com.heima.search.service;

import com.heima.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import com.heima.model.search.pojos.ArticleDoc;

import java.util.List;

public interface ArticleSearchService {
    ResponseResult<List<ArticleDoc>> search(UserSearchDto dto);

    void saveToES(Long articleId);

    void removeFromES(Long articleId);
}
